package swingson;

import java.awt.Color;
import javax.swing.JPanel;

/**
 * @author Dmitry
 */
public class MyPanel extends JPanel {

    public MyPanel() {
        setOpaque(true);
        setBackground(new Color((float) Math.random(), (float) Math.random(), (float) Math.random()));
    }

}
